/*
 * @Description: 文件内容描述
 * @Author: 李志杰
 * @Date: 2020-03-31 18:38:43
 * @LastEditTime: 2020-03-31 19:11:34
 * @LastEditors: huacong
 */
// 审批状态圆点的颜色
export const handlerApprovalStatusColor = str => {
  if (str === 'not_prepared' || str === '待编制') return 'rgba(39, 97, 255, 1)';
  if (str === 'organization' || str === '编制中') return 'rgba(39, 97, 255, 1)';
  if (str === 'examined_approved' || str === '待提交审批') return 'rgba(251, 173, 21, 1)';
  if (str === 'approved' || str === '审批中') return 'rgba(250, 173, 21, 1)';
  if (str === 'failure_approved' || str === '审批已驳回') return 'rgba(255, 0, 0, 1)';
  if (str === 'success_approved' || str === '审批通过') return 'rgba(165, 214, 63, 1)';
  if (str === 'sys_generation' || str === '系统生成') return 'rgba(82, 196, 26, 1)';
  return '#ccc';
};
